package com.ifast.oupei.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ifast.oupei.dao.KeywordDao;
import com.ifast.oupei.domain.KeywordDO;
import com.ifast.oupei.service.KeywordService;
import com.baomidou.mybatisplus.plugins.Page;
import com.ifast.common.base.CoreServiceImpl;

/**
 * 
 * <pre>
 * 分析关键字
 * </pre>
 * <small> 2018-06-11 15:48:45 | Aron</small>
 */
@Service
public class KeywordServiceImpl extends CoreServiceImpl<KeywordDao, KeywordDO> implements KeywordService {
	@Autowired
	KeywordDao keywordDao;
	@Override
	public Page<KeywordDO> Listkeyword(Page<KeywordDO> page) {
		page.setRecords(keywordDao.Listkeyword(page));
        return page;
	}
	@Override
	public KeywordDO selctKeyWordById(Integer id) {
		return keywordDao.selctKeyWordById(id);
	}
	@Override
	public List<KeywordDO> ListByItems(Integer items) {
		return keywordDao.ListByItems(items);
	}
}
